package com.easyOrder.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(Long value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(Long value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(Long value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(Long value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(Long value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<Long> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<Long> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(Long value1, Long value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(Long value1, Long value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andStatusIdIsNull() {
            addCriterion("status_id is null");
            return (Criteria) this;
        }

        public Criteria andStatusIdIsNotNull() {
            addCriterion("status_id is not null");
            return (Criteria) this;
        }

        public Criteria andStatusIdEqualTo(Integer value) {
            addCriterion("status_id =", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdNotEqualTo(Integer value) {
            addCriterion("status_id <>", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdGreaterThan(Integer value) {
            addCriterion("status_id >", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("status_id >=", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdLessThan(Integer value) {
            addCriterion("status_id <", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdLessThanOrEqualTo(Integer value) {
            addCriterion("status_id <=", value, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdIn(List<Integer> values) {
            addCriterion("status_id in", values, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdNotIn(List<Integer> values) {
            addCriterion("status_id not in", values, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdBetween(Integer value1, Integer value2) {
            addCriterion("status_id between", value1, value2, "statusId");
            return (Criteria) this;
        }

        public Criteria andStatusIdNotBetween(Integer value1, Integer value2) {
            addCriterion("status_id not between", value1, value2, "statusId");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserIsNull() {
            addCriterion("is_super_user is null");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserIsNotNull() {
            addCriterion("is_super_user is not null");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserEqualTo(Integer value) {
            addCriterion("is_super_user =", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserNotEqualTo(Integer value) {
            addCriterion("is_super_user <>", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserGreaterThan(Integer value) {
            addCriterion("is_super_user >", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_super_user >=", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserLessThan(Integer value) {
            addCriterion("is_super_user <", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserLessThanOrEqualTo(Integer value) {
            addCriterion("is_super_user <=", value, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserIn(List<Integer> values) {
            addCriterion("is_super_user in", values, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserNotIn(List<Integer> values) {
            addCriterion("is_super_user not in", values, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserBetween(Integer value1, Integer value2) {
            addCriterion("is_super_user between", value1, value2, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIsSuperUserNotBetween(Integer value1, Integer value2) {
            addCriterion("is_super_user not between", value1, value2, "isSuperUser");
            return (Criteria) this;
        }

        public Criteria andIconPathIsNull() {
            addCriterion("icon_path is null");
            return (Criteria) this;
        }

        public Criteria andIconPathIsNotNull() {
            addCriterion("icon_path is not null");
            return (Criteria) this;
        }

        public Criteria andIconPathEqualTo(String value) {
            addCriterion("icon_path =", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathNotEqualTo(String value) {
            addCriterion("icon_path <>", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathGreaterThan(String value) {
            addCriterion("icon_path >", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathGreaterThanOrEqualTo(String value) {
            addCriterion("icon_path >=", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathLessThan(String value) {
            addCriterion("icon_path <", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathLessThanOrEqualTo(String value) {
            addCriterion("icon_path <=", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathLike(String value) {
            addCriterion("icon_path like", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathNotLike(String value) {
            addCriterion("icon_path not like", value, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathIn(List<String> values) {
            addCriterion("icon_path in", values, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathNotIn(List<String> values) {
            addCriterion("icon_path not in", values, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathBetween(String value1, String value2) {
            addCriterion("icon_path between", value1, value2, "iconPath");
            return (Criteria) this;
        }

        public Criteria andIconPathNotBetween(String value1, String value2) {
            addCriterion("icon_path not between", value1, value2, "iconPath");
            return (Criteria) this;
        }

        public Criteria andSessionIsNull() {
            addCriterion("session is null");
            return (Criteria) this;
        }

        public Criteria andSessionIsNotNull() {
            addCriterion("session is not null");
            return (Criteria) this;
        }

        public Criteria andSessionEqualTo(String value) {
            addCriterion("session =", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotEqualTo(String value) {
            addCriterion("session <>", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThan(String value) {
            addCriterion("session >", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionGreaterThanOrEqualTo(String value) {
            addCriterion("session >=", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionLessThan(String value) {
            addCriterion("session <", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionLessThanOrEqualTo(String value) {
            addCriterion("session <=", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionLike(String value) {
            addCriterion("session like", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotLike(String value) {
            addCriterion("session not like", value, "session");
            return (Criteria) this;
        }

        public Criteria andSessionIn(List<String> values) {
            addCriterion("session in", values, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotIn(List<String> values) {
            addCriterion("session not in", values, "session");
            return (Criteria) this;
        }

        public Criteria andSessionBetween(String value1, String value2) {
            addCriterion("session between", value1, value2, "session");
            return (Criteria) this;
        }

        public Criteria andSessionNotBetween(String value1, String value2) {
            addCriterion("session not between", value1, value2, "session");
            return (Criteria) this;
        }

        public Criteria andLoginDateIsNull() {
            addCriterion("login_date is null");
            return (Criteria) this;
        }

        public Criteria andLoginDateIsNotNull() {
            addCriterion("login_date is not null");
            return (Criteria) this;
        }

        public Criteria andLoginDateEqualTo(Date value) {
            addCriterion("login_date =", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateNotEqualTo(Date value) {
            addCriterion("login_date <>", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateGreaterThan(Date value) {
            addCriterion("login_date >", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("login_date >=", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateLessThan(Date value) {
            addCriterion("login_date <", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateLessThanOrEqualTo(Date value) {
            addCriterion("login_date <=", value, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateIn(List<Date> values) {
            addCriterion("login_date in", values, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateNotIn(List<Date> values) {
            addCriterion("login_date not in", values, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateBetween(Date value1, Date value2) {
            addCriterion("login_date between", value1, value2, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginDateNotBetween(Date value1, Date value2) {
            addCriterion("login_date not between", value1, value2, "loginDate");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdIsNull() {
            addCriterion("login_client_type_id is null");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdIsNotNull() {
            addCriterion("login_client_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdEqualTo(Integer value) {
            addCriterion("login_client_type_id =", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdNotEqualTo(Integer value) {
            addCriterion("login_client_type_id <>", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdGreaterThan(Integer value) {
            addCriterion("login_client_type_id >", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("login_client_type_id >=", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdLessThan(Integer value) {
            addCriterion("login_client_type_id <", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("login_client_type_id <=", value, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdIn(List<Integer> values) {
            addCriterion("login_client_type_id in", values, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdNotIn(List<Integer> values) {
            addCriterion("login_client_type_id not in", values, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("login_client_type_id between", value1, value2, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("login_client_type_id not between", value1, value2, "loginClientTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginClientIsNull() {
            addCriterion("login_client is null");
            return (Criteria) this;
        }

        public Criteria andLoginClientIsNotNull() {
            addCriterion("login_client is not null");
            return (Criteria) this;
        }

        public Criteria andLoginClientEqualTo(String value) {
            addCriterion("login_client =", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientNotEqualTo(String value) {
            addCriterion("login_client <>", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientGreaterThan(String value) {
            addCriterion("login_client >", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientGreaterThanOrEqualTo(String value) {
            addCriterion("login_client >=", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientLessThan(String value) {
            addCriterion("login_client <", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientLessThanOrEqualTo(String value) {
            addCriterion("login_client <=", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientLike(String value) {
            addCriterion("login_client like", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientNotLike(String value) {
            addCriterion("login_client not like", value, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientIn(List<String> values) {
            addCriterion("login_client in", values, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientNotIn(List<String> values) {
            addCriterion("login_client not in", values, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientBetween(String value1, String value2) {
            addCriterion("login_client between", value1, value2, "loginClient");
            return (Criteria) this;
        }

        public Criteria andLoginClientNotBetween(String value1, String value2) {
            addCriterion("login_client not between", value1, value2, "loginClient");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("note is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("note is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("note =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("note <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("note >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("note >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("note <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("note <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("note like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("note not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("note in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("note not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("note between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("note not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialIsNull() {
            addCriterion("identity_card_serial is null");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialIsNotNull() {
            addCriterion("identity_card_serial is not null");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialEqualTo(String value) {
            addCriterion("identity_card_serial =", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialNotEqualTo(String value) {
            addCriterion("identity_card_serial <>", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialGreaterThan(String value) {
            addCriterion("identity_card_serial >", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialGreaterThanOrEqualTo(String value) {
            addCriterion("identity_card_serial >=", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialLessThan(String value) {
            addCriterion("identity_card_serial <", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialLessThanOrEqualTo(String value) {
            addCriterion("identity_card_serial <=", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialLike(String value) {
            addCriterion("identity_card_serial like", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialNotLike(String value) {
            addCriterion("identity_card_serial not like", value, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialIn(List<String> values) {
            addCriterion("identity_card_serial in", values, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialNotIn(List<String> values) {
            addCriterion("identity_card_serial not in", values, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialBetween(String value1, String value2) {
            addCriterion("identity_card_serial between", value1, value2, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andIdentityCardSerialNotBetween(String value1, String value2) {
            addCriterion("identity_card_serial not between", value1, value2, "identityCardSerial");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsIsNull() {
            addCriterion("failed_logins is null");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsIsNotNull() {
            addCriterion("failed_logins is not null");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsEqualTo(Integer value) {
            addCriterion("failed_logins =", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsNotEqualTo(Integer value) {
            addCriterion("failed_logins <>", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsGreaterThan(Integer value) {
            addCriterion("failed_logins >", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsGreaterThanOrEqualTo(Integer value) {
            addCriterion("failed_logins >=", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsLessThan(Integer value) {
            addCriterion("failed_logins <", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsLessThanOrEqualTo(Integer value) {
            addCriterion("failed_logins <=", value, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsIn(List<Integer> values) {
            addCriterion("failed_logins in", values, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsNotIn(List<Integer> values) {
            addCriterion("failed_logins not in", values, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsBetween(Integer value1, Integer value2) {
            addCriterion("failed_logins between", value1, value2, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andFailedLoginsNotBetween(Integer value1, Integer value2) {
            addCriterion("failed_logins not between", value1, value2, "failedLogins");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdIsNull() {
            addCriterion("data_limit_type_id is null");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdIsNotNull() {
            addCriterion("data_limit_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdEqualTo(Integer value) {
            addCriterion("data_limit_type_id =", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdNotEqualTo(Integer value) {
            addCriterion("data_limit_type_id <>", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdGreaterThan(Integer value) {
            addCriterion("data_limit_type_id >", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_limit_type_id >=", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdLessThan(Integer value) {
            addCriterion("data_limit_type_id <", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("data_limit_type_id <=", value, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdIn(List<Integer> values) {
            addCriterion("data_limit_type_id in", values, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdNotIn(List<Integer> values) {
            addCriterion("data_limit_type_id not in", values, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("data_limit_type_id between", value1, value2, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("data_limit_type_id not between", value1, value2, "dataLimitTypeId");
            return (Criteria) this;
        }

        public Criteria andDataLimitIsNull() {
            addCriterion("data_limit is null");
            return (Criteria) this;
        }

        public Criteria andDataLimitIsNotNull() {
            addCriterion("data_limit is not null");
            return (Criteria) this;
        }

        public Criteria andDataLimitEqualTo(String value) {
            addCriterion("data_limit =", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitNotEqualTo(String value) {
            addCriterion("data_limit <>", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitGreaterThan(String value) {
            addCriterion("data_limit >", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitGreaterThanOrEqualTo(String value) {
            addCriterion("data_limit >=", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitLessThan(String value) {
            addCriterion("data_limit <", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitLessThanOrEqualTo(String value) {
            addCriterion("data_limit <=", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitLike(String value) {
            addCriterion("data_limit like", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitNotLike(String value) {
            addCriterion("data_limit not like", value, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitIn(List<String> values) {
            addCriterion("data_limit in", values, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitNotIn(List<String> values) {
            addCriterion("data_limit not in", values, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitBetween(String value1, String value2) {
            addCriterion("data_limit between", value1, value2, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andDataLimitNotBetween(String value1, String value2) {
            addCriterion("data_limit not between", value1, value2, "dataLimit");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateIsNull() {
            addCriterion("password_expired_date is null");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateIsNotNull() {
            addCriterion("password_expired_date is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateEqualTo(Date value) {
            addCriterion("password_expired_date =", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateNotEqualTo(Date value) {
            addCriterion("password_expired_date <>", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateGreaterThan(Date value) {
            addCriterion("password_expired_date >", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateGreaterThanOrEqualTo(Date value) {
            addCriterion("password_expired_date >=", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateLessThan(Date value) {
            addCriterion("password_expired_date <", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateLessThanOrEqualTo(Date value) {
            addCriterion("password_expired_date <=", value, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateIn(List<Date> values) {
            addCriterion("password_expired_date in", values, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateNotIn(List<Date> values) {
            addCriterion("password_expired_date not in", values, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateBetween(Date value1, Date value2) {
            addCriterion("password_expired_date between", value1, value2, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andPasswordExpiredDateNotBetween(Date value1, Date value2) {
            addCriterion("password_expired_date not between", value1, value2, "passwordExpiredDate");
            return (Criteria) this;
        }

        public Criteria andTmpphoneIsNull() {
            addCriterion("TMPPHONE is null");
            return (Criteria) this;
        }

        public Criteria andTmpphoneIsNotNull() {
            addCriterion("TMPPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andTmpphoneEqualTo(String value) {
            addCriterion("TMPPHONE =", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneNotEqualTo(String value) {
            addCriterion("TMPPHONE <>", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneGreaterThan(String value) {
            addCriterion("TMPPHONE >", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneGreaterThanOrEqualTo(String value) {
            addCriterion("TMPPHONE >=", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneLessThan(String value) {
            addCriterion("TMPPHONE <", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneLessThanOrEqualTo(String value) {
            addCriterion("TMPPHONE <=", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneLike(String value) {
            addCriterion("TMPPHONE like", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneNotLike(String value) {
            addCriterion("TMPPHONE not like", value, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneIn(List<String> values) {
            addCriterion("TMPPHONE in", values, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneNotIn(List<String> values) {
            addCriterion("TMPPHONE not in", values, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneBetween(String value1, String value2) {
            addCriterion("TMPPHONE between", value1, value2, "tmpphone");
            return (Criteria) this;
        }

        public Criteria andTmpphoneNotBetween(String value1, String value2) {
            addCriterion("TMPPHONE not between", value1, value2, "tmpphone");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}